package com.zhuhjay.service.impl;

import com.zhuhjay.mapper.TypeMapper;
import com.zhuhjay.model.entity.Type;
import com.zhuhjay.service.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ZhuHJay
 * @date 2023/4/26 16:29
 */
@Service
public class TypeServiceImpl implements TypeService {

    @Resource
    private TypeMapper typeMapper;

    @Override
    public List<Type> list() {
        return typeMapper.selectAll();
    }

}
